from django.db import models

# Create your models here.
class xhzd_surnfu(models.Model):
    id = models.FloatField(max_length=5, null=False, primary_key=True, verbose_name='id')
    zi = models.CharField(max_length=255, verbose_name='汉字',null=True)
    py = models.CharField(max_length=255, verbose_name='拼',null=True)
    wubi = models.CharField(max_length=255, verbose_name='五笔',null=True)
    bushou = models.CharField(max_length=255, verbose_name='部首',null=True)
    bihua = models.FloatField(max_length=5,verbose_name='笔画',null=True)
    pinyin = models.CharField(max_length=255, verbose_name='拼音',null=True)
    jijie = models.TextField(max_length=8000, verbose_name='精解',null=True)
    xiangjie = models.TextField(max_length=8000, verbose_name='详解',null=True)

    class Mate:
        verbose_name = '汉字库'
        verbose_name_plural = verbose_name
